/* GMClient.hh -- Cliente GEARMedula
 *
 * Copyright (C) 2008, Diogo F. S. Ramos <diogo.ramos@usp.br>
 * GEAR - Grupo de Estudos Avançados em Robótica
 * <http://www.sel.eesc.usp.br/gear>
 *
 * This file is part of GEARMedula.
 * 
 * GEARMedula is free software: you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, version 3 of the
 * License.
 * 
 * GEARMedula is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see
 * <http://www.gnu.org/licenses/>.
 */

#ifndef GMCLIENT_HH_
#define GMCLIENT_HH_

#include <string>
#include <vector>

#include "GEARMedulaIDL.hh"

class GMClient{
    Visao_var vs_var_;
    IA_var ia_var_;
public:
    GMClient();
    ~GMClient();
    int Init( const std::string addr, const int port );
    void setField( const std::vector<float> field );
    void setWorld( const std::vector<float> world );
    void getField( std::vector<float> &field );
    void getWorld( std::vector<float> &world );
    void SetVel( const int id, const float vx, const float vy, const float va );
    void Kick( const int id, const int nivel );
    void DribbleEnable(const int id, const bool enable );
    void SayHello(const int id);
};

#endif	// GMCLIENT_HH_
